Mega Code Archive

Categories
1) Android
2) ASP.Net
3) ASP.Net Tutorial
4) C
5) C Tutorial
6) C#
7) C# Book
8) C# by API
9) C# Tutorial
10) C++
11) C++ Tutorial
12) Delphi
13) Flash ActionScript
14) Flex
15) Java
16) Java Book
17) Java by API
18) Java Tutorial
19) JavaScript DHTML
20) JavaScript Reference
21) JavaScript Tutorial
22) MSOfficeExcel 2007 Tutorial
23) MSOfficePowerPoint 2007 Tutorial
24) MSOfficeWord 2007 Tutorial
25) MSSQL
26) MSSQL Tutorial
27) MySQL
28) MySQL Tutorial
29) Oracle PLSQL
30) Oracle PLSQL Tutorial
31) Perl
32) Php
33) PostgreSQL
34) Python
35) Python Tutorial
36) Ruby
37) Silverlight
38) VB.Net
39) VB.Net by API
40) VB.Net Tutorial
41) Visual C++ .NET
42) VisualBasic Script
43) XML
44) XML Tutorial
 
C
1) Assert H
2) Beginners
3) Code Snippets
4) Console
5) Ctype H
6) Data Structure Algorithm
7) Data Type
8) Development
9) File
10) Function
11) Games Graphic
12) Hardware Interaction
13) Language Basics
14) Linux
15) Macro Preprocessor
16) Math
17) Math H
18) Memory
19) Pointer
20) Setjmp H
21) Signal H
22) Small Application
23) Stdio H
24) Stdlib H
25) String
26) String H
27) Structure
28) Time H
29) Unix
30) Wctype H
Language Basics
1) ( ) operator
2) A flag
3) A for loop inside main function
4) A free-standing block statement
5) A simple 4 function calculator
6) A simple example of the if statement
7) A simple for loop
8) A while loop nested in for loop
9) Add function to the Ternary operator
10) Assign value to global variable
11) Bitwise operator
12) Block if else statement
13) Break a infinite loop
14) Calculation
15) Calculations
16) Comma expression
17) Comments in C
18) Compute the area of a triangle, given its width and height
19) Console menu
20) Const function in all c programs
21) Count spaces in string
22) Define and use global variable and function
23) Define and use Global variables
24) Define block inside a function
25) Define local variable for a function
26) Define variable in a block
27) Demonstrate multiple loop control variables
28) Demonstrate the use of variables
29) Display Hello
30) Display Hello and your name
31) Division with float values and output it
32) Do while loop
33) Do while loop for your selection
34) Do while loop with continue
35) Do while with char value as condition
36) Finding the size of a type
37) For
38) For and scanf
39) For loop
40) For loop condition
41) For loop with continue
42) For loop with init value, stop condition and incr
43) For loop without first part
44) For loop without the third part
45) For statement
46) Get three input at the same time
47) Global variable and function
48) use extern
49) use goto in c
50) use switch
51) If command
52) If else
53) If else if and else
54) If else statement inside a for loop
55) IF statement 3
56) If statement for different choice
57) If statement inside for loop
58) Indefinite loop and break
59) Infinite for loop with break
60) Logical operator
61) Main function
62) More calculation in the for statement
63) More complex for loop
64) More if else
65) More statement in if else
66) Move more statements into if and else
67) Nested for
68) Nested for Demo
69) Nested for loop and break
70) Nested for loop demo
71) Nested for loop inside a do while loop
72) One line comments
73) Operator for int value
74) Operator sequence
75) Operator which accepts three value
76) Our own power function with parameters
77) Output float
78) Plus operator
79) Prime number tester
80) Program starts with main function
81) Relational and logical operations
82) Reverse order of for loop
83) Reversing the digits
84) See the for loop terminating condition
85) Self increase and decrease operator
86) Self increase operator
87) Self operator
88) Set the init value for a for loop
89) Simple string ouput
90) Simple Ternary operator
91) Simplest for loop
92) Switch
93) Switch demo
94) Switch inside for loop
95) Switch with char case
96) Switch with default
97) Switch with int case
98) Ternary () operator
99) Ternary operator inside if else
100) Testing letters using and
101) The variable limits
102) This program produces a Celsius to Fahrenheit conversion chart for the numbers 0 to 100
103) Three level nested for loop
104) Two condition for ending a for loop
105) Use and
106) Use break in for loop to exit
107) Use break to terminate a for loop
108) Use calculation in if statement
109) Use char as int in a for loop
110) Use for loop as the user selections controller
111) Use function as for loop control variable
112) Use getchar inside while loop
113) Use global variable in function
114) Use global vars
115) Use if else
116) Use int as if condition
117) Use int as the while loop controller
118) Use integer as the for loop controller
119) Use result as the if condition
120) Use statement inside if else
121) Use ternary operator in printf
122) Use two if statements
123) Use user input as the if condition
124) Using ifs to decide on a discount
125) Using the ;amp operator
126) Variable scope
127) While loop to print char
128) While to sum integers
129) Work with global variable
130) Write expression inside Ternary operator